﻿namespace Compiler.Primitives
{
    class Argument
    {
        public enum ArgType
        {
            String,
            Int,
            Float,
            Boolean,
            StringArray,
            IntArray,
            FloatArray,
            BooleanArray
        }

        private readonly ArgType _type;
        private readonly string _name;

        public Argument(ArgType type, string name)
        {
            _type = type;
            _name = name;
        }

        public ArgType GetArgType()
        {
            return _type;
        }

        public string GetName()
        {
            return _name;
        }
    }
}
